﻿//创建时间: 2010-10-18
//创建作者: 李 城
//功能说明: html元素枚举
//最后修改: 2010-10-18
using System;
using System.Collections.Generic;
using System.Text;

namespace TRPOP.Common
{
    /// <summary>
    /// html元素属性所涉及到的 关键字
    /// </summary>
    public static class HtmlAttributeKey
    {
        /// <summary>
        /// 所有控件均可使用 元素参数
        /// </summary>
        public static string ItemParam = "param";

        /// <summary>
        /// 所有控件均可使用 元素验证 正则
        /// </summary>
        public static string ItemReg = "RegStr";


        #region Text枚举类别

        /// <summary>
        /// text  readonly 的KEY 【值类型：true/false】
        /// </summary>
        public static string  TextReadOnly = "readonly";

        /// <summary>
        /// text  required 的KEY 【值类型：true/false】
        /// </summary>
        public static string  TextRequired = "required";

        /// <summary>
        ///  text  valuelength 的KEY 
        /// </summary>
        public static string  TextValuelength = "valuelength";

        /// <summary>
        /// text  valuetype 的KEY 
        /// </summary>
        public static string  TextValuetype = "valuetype";

        /// <summary>
        /// text  prompt 的KEY 
        /// </summary>
        public static string  TextPrompt = "prompt";

        #endregion

        #region TextArea枚举类别
        /// <summary>
        ///  TextArea  readonly 的KEY 【值类型：true/false】
        /// </summary>
        public static string  TextAreaReadOnly = "readOnly";
        
        /// <summary>
        /// TextArea Required 的KEY 【值类型：true/false】
        /// </summary>
        public static string  TextAreaRequired = "required";

        /// <summary>
        /// TextArea prompt 的KEY 
        /// </summary>
        public static string  TextAreaPrompt = "prompt";

        /// <summary>
        /// TextArea valuelength 的KEY 
        /// </summary>
        public static string  TextAreaValuelength = "valuelength";

        /// <summary>
        /// TextArea valuetype 的KEY 
        /// </summary>
        public static string  TextAreaValuetype = "valuetype";


        #endregion

        #region Radio枚举类别
        /// <summary>
        ///  radio value 的KEY
        /// </summary>
        public static string  RadioValue = "value";

        /// <summary>
        /// radio 显示text 的KEY
        /// </summary>
        public static string  RadioShowName = "ShowName";

        /// <summary>
        /// radio 是否选中 的KEY 【值类型：true/false】
        /// </summary>
        public static string Radiochecked = "checked";
        #endregion


    }
}
